using System.Xml;

namespace IQIGame.Onigao.Game.Editors
{
    public class EdtCfgFSMNode
    {
        protected string _text;
        protected string _fsmShortPath;

        public string id { get; private set; }
        public string fsmShortPath => _fsmShortPath;

        public virtual void Init(XmlElement element, string fsmShortPath)
        {
            this._text = element.InnerText;
            this.id = element.GetAttribute("id");
            this._fsmShortPath = fsmShortPath;
        }
    }
}